Skip to content

fix(search): carry search query over to Ask Kestra AI prompt (#5354) - #5439

Merged
iitzIrFan merged 8 commits into
mainfrom
fix/search-ai-prefill-query
Sep 8, 2026
Merged

fix(search): carry search query over to Ask Kestra AI prompt (#5354)#5439
iitzIrFan merged 8 commits into
mainfrom
fix/search-ai-prefill-query

Conversation

@iitzIrFan

Copy link
Copy Markdown
Member

fixes: #5354


When a search comes up empty, clicking Ask Kestra AI opened the AI dialog with a blank prompt, so you had to retype the query you just entered.

Now the text in the search box is carried over and pre-filled in the AI prompt (with the textarea focused and resized), so a failed search hands off straight to the AI.


Ref. video:

2026-08-28.14-03-53.mov

@iitzIrFan
iitzIrFan marked this pull request as ready for review August 28, 2026 08:35
@iitzIrFan
iitzIrFan requested a review from elevatebart August 28, 2026 08:37
@github-actions

github-actions Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

☁️ Cloudflare Worker Preview Deployed!

🔗 https://ks-fix-search-ai-prefill-query-docs.kestra-io.workers.dev
🔗 https://2ee532c9-docs.kestra-io.workers.dev

🔦 Lighthouse Benchmark

Tested: http://localhost:8787 on 2026-09-08 14:05 UTC
Compared against main baseline from 2026-09-08

Scores (0–100, higher is better)

Page Performance Accessibility Best Practices SEO
Home 79 84 73 92
Get Started 74 83 73 100
Pricing 98 92 73 100
Enterprise 97 🟢 +97 83 73 100
Cloud 92 80 73 100
About Us 98 🟢 +14 91 73 100
Docs Landing 96 88 73 92
Contribute to Kestra (simple docs) 98 88 73 92
Flow (full featured docs) 97 90 73 92
Blog Index 74 91 73 100
Blog Post (sample) 97 88 73 100
VS Page (sample) 98 88 73 100
Plugins Landing 91 81 73 92
Plugin Page (sample) 94 🟢 +94 88 73 100
Plugin Debug Page (sample) 95 88 73 100
Plugin Debug Return Page (sample) 92 88 77 100
Blueprints Landing 76 91 73 100
Blueprint Audit Logs CSV Export 85 92 73 100

Core Web Vitals (lower is better)

Page LCP FCP TBT CLS Speed Index
Home 1.21 s 0.76 s 346 ms 0.000 1.85 s
Get Started 1.97 s 0.58 s 391 ms 0.000 0.85 s
Pricing 1.02 s 0.61 s 30 ms 🔻 0.000 0.91 s
Enterprise 1.26 s 0.63 s 36 ms 0.000 0.87 s
Cloud 1.88 s 0.61 s 30 ms 0.001 0.86 s
About Us 1.01 s 🟢 0.67 s 15 ms 0.000 0.88 s
Docs Landing 0.99 s 0.54 s 132 ms 🔻 0.000 0.95 s
Contribute to Kestra (simple docs) 1.09 s 0.56 s 32 ms 🔻 0.000 0.75 s
Flow (full featured docs) 1.12 s 0.59 s 32 ms 0.000 1.09 s
Blog Index 12.49 s 0.54 s 102 ms 0.000 0.91 s
Blog Post (sample) 1.18 s 🟢 0.57 s 14 ms 0.000 0.87 s
VS Page (sample) 0.91 s 0.59 s 28 ms 0.064 0.78 s
Plugins Landing 0.93 s 0.55 s 64 ms 🔻 0.000 3.04 s
Plugin Page (sample) 0.94 s 0.59 s 17 ms 0.000 2.34 s
Plugin Debug Page (sample) 0.91 s 0.53 s 60 ms 0.001 2.14 s
Plugin Debug Return Page (sample) 1.02 s 0.66 s 67 ms 🔻 0.000 2.52 s
Blueprints Landing 2.56 s 1.05 s 44 ms 🔻 0.000 3.86 s
Blueprint Audit Logs CSV Export 0.99 s 0.66 s 169 ms 🔻 0.000 4.55 s
Legend

🟢 improved  ·  🔻 regressed  ·  (blank) no significant change
Score threshold: ±10 pts  ·  Metric threshold: ±30% of baseline

View full Lighthouse HTML report for a page

Full per-page Lighthouse Results (LHR) are attached as the lhr-reports artifact on this run. Download and unzip it, then open https://googlechrome.github.io/lighthouse/viewer/ and drop the <page>-lhr.json file into the page to see every audit, opportunity, and diagnostic.

@iitzIrFan
iitzIrFan merged commit 8f7eb7c into main Sep 8, 2026
7 checks passed
@iitzIrFan
iitzIrFan deleted the fix/search-ai-prefill-query branch September 8, 2026 14:06
@github-project-automation github-project-automation Bot moved this from To review to Done in Pull Requests Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Bash2.0][Search] "Ask Kestra AI" does not carry the search query over when there are no results

2 participants